﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using BaiTu.IEventServices;
using BaiTu.IOCServices;

namespace BaiTu.EventServices.Testing.Sub
{
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        public void TestMethod1()
        {
            IOCServices.EngineContext.Initialize(true);

            IEventBus eventBus = EngineContext.Current.Resolve<IEventBus>();
            Console.WriteLine("listening...");

            Console.ReadKey();
        }
    }
}
